// P3758 write by cn_ryh